.class Lcom/estrongs/android/pop/app/filetransfer/TransferFileSelectActivity$b;
.super Ljava/lang/Object;
.source "TransferFileSelectActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/pop/app/filetransfer/TransferFileSelectActivity;->J()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/pop/app/filetransfer/TransferFileSelectActivity;


# direct methods
.method constructor <init>(Lcom/estrongs/android/pop/app/filetransfer/TransferFileSelectActivity;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/app/filetransfer/TransferFileSelectActivity$b;->a:Lcom/estrongs/android/pop/app/filetransfer/TransferFileSelectActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 2

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/pop/app/filetransfer/TransferFileSelectActivity$b;->a:Lcom/estrongs/android/pop/app/filetransfer/TransferFileSelectActivity;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/filetransfer/TransferFileSelectActivity;->a(Lcom/estrongs/android/pop/app/filetransfer/TransferFileSelectActivity;)Z

    move-result p1

    if-eqz p1, :cond_0

    .line 2
    sget-object p1, Lcom/estrongs/android/pop/app/filetransfer/FileTransferSendActivity;->z:Ljava/util/ArrayList;

    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/TransferFileSelectActivity$b;->a:Lcom/estrongs/android/pop/app/filetransfer/TransferFileSelectActivity;

    iget-object v1, v0, Lcom/estrongs/android/pop/app/filetransfer/TransferFileSelectActivity;->q:Lcom/estrongs/android/pop/app/filetransfer/fragment/AbsSelectFileFragment;

    invoke-virtual {v1}, Lcom/estrongs/android/pop/app/filetransfer/fragment/AbsSelectFileFragment;->m()Ljava/util/List;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/estrongs/android/pop/app/filetransfer/TransferFileSelectActivity;->a(Lcom/estrongs/android/pop/app/filetransfer/TransferFileSelectActivity;Ljava/util/List;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {p1, v0}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    .line 3
    new-instance p1, Landroid/content/Intent;

    invoke-direct {p1}, Landroid/content/Intent;-><init>()V

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/TransferFileSelectActivity$b;->a:Lcom/estrongs/android/pop/app/filetransfer/TransferFileSelectActivity;

    const/4 v1, -0x1

    invoke-virtual {v0, v1, p1}, Landroid/app/Activity;->setResult(ILandroid/content/Intent;)V

    goto :goto_0

    .line 5
    :cond_0
    iget-object p1, p0, Lcom/estrongs/android/pop/app/filetransfer/TransferFileSelectActivity$b;->a:Lcom/estrongs/android/pop/app/filetransfer/TransferFileSelectActivity;

    iget-object v0, p1, Lcom/estrongs/android/pop/app/filetransfer/TransferFileSelectActivity;->q:Lcom/estrongs/android/pop/app/filetransfer/fragment/AbsSelectFileFragment;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/filetransfer/fragment/AbsSelectFileFragment;->m()Ljava/util/List;

    move-result-object v0

    invoke-static {p1, v0}, Lcom/estrongs/android/pop/app/filetransfer/FileTransferSendActivity;->a(Landroid/content/Context;Ljava/util/List;)V

    .line 6
    :goto_0
    iget-object p1, p0, Lcom/estrongs/android/pop/app/filetransfer/TransferFileSelectActivity$b;->a:Lcom/estrongs/android/pop/app/filetransfer/TransferFileSelectActivity;

    invoke-virtual {p1}, Landroid/app/Activity;->finish()V

    return-void
.end method
